<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-18 21:19:33
 * @LastEditTime: 2023-07-28 14:09:51
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description: 
 */

namespace App\Http\Controllers\Market;

use App\Http\Controllers\Controller;
use App\Http\Services\Market\OrderService;


use Illuminate\Http\Request;

class OrderController extends Controller
    {
    //
    public function __construct(OrderService $material_service)
        {
        $this->service = $material_service;
        }

    public function list()
        {
        return $this->service->list();
        }

    public function details()
        {
        return $this->service->details();
        }
    protected function save()
        {
        return $this->service->save(request());
        }
    protected function delete()
        {
        return $this->service->delete(request());
        }
    protected function audit()
        {
        return $this->service->audit();
        }

    protected function noaudit()
        {
        return $this->service->noaudit();
        }
    protected function finish()
        {
        return $this->service->finish();
        }
    protected function nofinish()
        {
        return $this->service->nofinish();
        }
    protected function endOrder()
        {
        return $this->service->endOrder();
        }
    protected function noendOrder()
        {
        return $this->service->noendOrder();
        }

    public function printReport()
        {
        return $this->service->printReport();
        }

    }